#pragma once
#include <qthread.h>
#include "YOLODetector.hxx"
#include "SORTTracker.hxx"
#include "TrackingThread.hxx"

class Sequence;
class FramePool;

class YOLODetectingThread : public TrackingThread
{
	Q_OBJECT
public:
    YOLODetectingThread();
    ~YOLODetectingThread();

	inline void setModelType(const char* modelName) { strcpy(_modelType, modelName); }


	void initialize() override;

	void run() override;


private:
	YOLODetector _detector;

	char _modelType[256];
};

